package com.winshare.saleAssistant.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.winshare.saleAssistant.model.School;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 学校基础信息 服务类
 * </p>
 *
 * @author stylefeng
 * @since 2020-11-06
 */
public interface ISchoolService extends IService<School> {

    List<Map<String,Object>> getList(@Param("page") Page<Map<String,Object>> page);

    List<School> selectNumber(Page<School> page, Boolean checkbox, String province, String city, String areaName, String condition);

    Integer getSchoolCount(Date starTime, Date endTime);

    Integer getSchoolCount1(@Param("starTime") Date starTime, @Param("endTime") Date endTime,@Param("productName") String productName);

    Integer getCTotal(Date starTime, Date endTime,String productName);

    Integer getATotal(Date starTime, Date endTime,String productName);

    String getLastTime();

}
